#ifndef OBJECTIVE_H
#define OBJECTIVE_H

#include "Problem.h"
#include "Solution.h"

class Objective {
protected:
	Problem	*problem;
	double	value;

public:
	Objective( Problem *problem );
	
	virtual double evaluate( Solution *solution ) = 0;

	double getValue()	{ return value; }
};

#endif